<script language="javascript" type="text/javascript">
	function changeText() {
		var theObjList = document.getElementById("xixi");
		var theObjText = document.getElementById("LXU");
		theObjText.value = theObjList[theObjList.selectedIndex].text;
	}
	function getText(){
		changeText();
	}
	function changeFocus(){
		var theObjText = document.getElementById("LXU");
		theObjText.focus();
	}
</script>
<body>
<div class="pageContent">

	<form method="post" action="__URL__/update/navTabId/__MODULE__/callbackType/closeCurrent" class="pageForm required-validate" onmousemove="return getText()" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="id" value="{$vo.id}" >
		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<label>客户号：</label>
				<input type="text" class="required alphanumeric" readonly  name="customerno" onfocus="changeFocus();" alt="请输入客户号" value="{$vo.customerno}">
			</div>
			<div class="unit">
				<label>客户类型：</label>
				<select id="xixi" name="xixi"
					style="width: 100px; top: 10px; position: absolute; clip: rect(0px, auto, auto, 82px);"
					onChange="return changeText();">
					<option <eq name="vo.customertype" value="中标">selected</eq> value="中标">中标</option>
					<option <eq name="vo.customertype" value="贸易">selected</eq> value="贸易">贸易</option>
				</select> <input id="LXU" type="text" name="customertype"
					style="width: 125px; top: 10px; position: absolute;" />
			</div>
			<div class="unit">
				<label>客户名称：</label>
				<input type="text" name="customername" class="required" value="{$vo.customername}">
			</div>
			<div class="unit">
				<label>业务员：</label>
				<input type="text" name="customermanager" value="{$vo.customermanager}">
			</div>
			<div class="unit">
				<label>电话：</label>
				<input type="text" name="phone" value="{$vo.phone}">
			</div>
			<div class="unit">
				<label>传真：</label>
				<input type="text" name="fax" value="{$vo.fax}">
			</div>
			<div class="unit">
				<label>网址：</label>
				<input type="text" name="site" value="{$vo.site}">
			</div>
			<div class="unit">
				<label>邮箱：</label>
				<input type="text" name="email" value="{$vo.email}">
			</div>
			<div class="unit">
				<label>城市：</label>
				<input type="text" name="city" value="{$vo.city}">
			</div>
			<div class="unit">
				<label>邮编：</label>
				<input type="text" name="zip" value="{$vo.zip}">
			</div>
			<div class="unit">
				<label>地址：</label>
				<input type="text" name="address" value="{$vo.address}">
			</div>
			<div class="unit">
				<label>开户银行：</label>
				<input type="text" name="openbank" value="{$vo.openbank}">
			</div>
			<div class="unit">
				<label>银行账号：</label>
				<input type="text" name="accountsno" value="{$vo.accountsno}">
			</div>
			<div class="unit">
				<label>税号：</label>
				<input type="text" name="accountsno" value="{$vo.taxno}">
			</div>
			<div class="unit">
				<label>备注：</label>
				<TEXTAREA name="notes" rows="3" style="width: 357px;" cols="61">{$vo.notes}</textarea>
			</div>
		</div>
		
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>

</div>

</body>